package com.haikesi.api.excutionplan.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
public class ExcutionPlanAddVO implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "执行计划账号")
    @NotNull(message = "执行计划账号不能为空")
    private String account;

    @ApiModelProperty(value = "执行计划名称")
    @NotNull(message = "执行计划名称不能为空")
    private String excutionPlanName;

    @ApiModelProperty(value = "执行计划状态（1为禁用，2为启用）")
    @NotNull(message = "执行计划状态不能为空")
    private Integer excutionPlanEnable;

}